<?php

/* 
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
$jige = 75;

$css = 80;
$js = 70;
$wangye = 60;
$vag = ($css + $js + $wangye )/3;
echo "平均分的及格线=$jige</br>";
echo "样式表=$css</br>";
echo "网页设计=$wangye</br>";
echo "JS=$js </br>";
echo "你的平均分=$vag</br>";
echo "你的分数：";

if ($vag >= $jige){
    echo "及格";
}  else {
    echo "不及格";    
}
